#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
This contributor prefers not to receive mails <noreply@example.com> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
6da11cc8 |
|
28-Sep-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
stdio: fix stdio_deregister_dev() When copying the name of a stdio device we must ensure that it is NUL terminated before passing it to strcmp() to avoid a buffer overrun. Truncating the name field leads to failure to deregister a stdio device. When copying we must ensure that the name field sizes match. Addresses-Coverity-ID: 350462 String not null terminated Fixes: 5294e97832a6 ("stdio: extend "name" to 32 symbols") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
47512b2e |
|
06-Sep-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <masahiroy@kernel.org> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
e0afedb6 |
|
06-Jun-2023 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
stdio: Remove stdio_init() This function is not used by anyone. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
b86986c7 |
|
18-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0f9b86f8 |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop remaining references to CONFIG_LCD These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2285864a |
|
16-Oct-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop VCXK video controller This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f60e6f67 |
|
14-Oct-2022 |
Tom Rini <trini@konsulko.com> |
input: Remove legacy KEYBOARD option There are no platforms that have not migrated to using DM_KEYBOARD, remove the legacy option. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
7ff12631 |
|
12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
stdio: Fix class iteration in stdio_add_devices() There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it. In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well. Also format error messages consistently. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
78b52431 |
|
05-Sep-2022 |
Pali Rohár <pali@kernel.org> |
serial: Implement serial_flush() function for console flush() fallback Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush(). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
1fa43cad |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop references to CONFIG_VIDEO et al Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
#
814dd92b |
|
23-Jan-2022 |
Simon Glass <sjg@chromium.org> |
video: Drop cfg_console The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
fc2b399a |
|
25-Nov-2021 |
Loic Poulain <loic.poulain@linaro.org> |
usb: gadget: Add CDC ACM function Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
55dabcc8 |
|
18-Aug-2021 |
Tom Rini <trini@konsulko.com> |
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
69d9eda4 |
|
10-Jul-2021 |
Simon Glass <sjg@chromium.org> |
i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
d9b0ac90 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Introduce a new helper stdio_file_to_flags() Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
99cb2b99 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Split out nulldev_register() and move it under #if It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
c090e8f2 |
|
11-Feb-2021 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
stdio: Get rid of dead code, i.e. stdio_deregister() Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
#
401d1c4f |
|
30-Oct-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
3232487d |
|
21-Dec-2020 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
console: rename search_device() to console_search_dev() Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@gmail.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
8c9940d5 |
|
18-Oct-2020 |
Anatolij Gustschin <agust@denx.de> |
eb_cpu5282: fix CONFIG_DM_VIDEO build warnings Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
4225f2f5 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
18c587d0 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Drop brackets around &devs.list These brackets are not needed. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5d4b6b17 |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Update to use compiler for Kconfig checks Drop use of the preprocessor where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ca0609a |
|
11-Aug-2020 |
Simon Glass <sjg@chromium.org> |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
f7ae49fc |
|
10-May-2020 |
Simon Glass <sjg@chromium.org> |
common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
5eb83c0a |
|
29-May-2019 |
Igor Opaniuk <igor.opaniuk@toradex.com> |
splash: display splash in DM_VIDEO configurations Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
#
83d290c5 |
|
06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
c5404b64 |
|
04-Dec-2017 |
Simon Glass <sjg@chromium.org> |
Drop the log buffer This does not appear to be used by any boards. Before introducing a new log system, remove this old one. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
69153988 |
|
12-May-2017 |
Simon Glass <sjg@chromium.org> |
i2c: Finish dropping use of CONFIG_I2C_HARD Drop use of this long-deprecated option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
d844efec |
|
13-Nov-2016 |
Simon Glass <sjg@chromium.org> |
stdio: Correct numbering logic in stdio_probe_device() The current code assumes that the devices are ordered corresponding to their alias value. But (for example) video1 can come before video0 in the device tree. Correct this, by always looking for device 0 first. After that we can fall back to finding the first available device. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ab29a34a |
|
13-Nov-2016 |
Simon Glass <sjg@chromium.org> |
stdio: Correct code style nits Fix a few code style nits in stdio_get_by_name(). Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
869588de |
|
17-Oct-2016 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig This converts the following to Kconfig: CONFIG_SYS_STDIO_DEREGISTER This option should never be enabled in SPL, so use CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Re-sync] Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d8441ea2 |
|
05-Oct-2016 |
Simon Glass <sjg@chromium.org> |
dm: stdio: Allow lazy probing of video devices At present all video devices are probed on start-up. It would be better to probe a device only when it is needed. This can happen if it is referenced in the stdout environment variable, for example. Add support for this by searching for a suitable device when needed, probing it, and finding the stdio device it creates. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
35a1f0df |
|
21-Jan-2016 |
Simon Glass <sjg@chromium.org> |
stdio: Correct a build error with driver model When driver model is used for video but not for the keyboard, a compiler warnings is produced. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e3b81c1c |
|
18-Jan-2016 |
Simon Glass <sjg@chromium.org> |
dm: stdio: video: Plumb the video uclass into stdio Register video drivers with stdio so that they can be used for text output. This needs to be done explicitly for now. At some point we should be able to convert stdio itself to driver model and avoid this step. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de>
|
#
b206cd73 |
|
18-Oct-2015 |
Simon Glass <sjg@chromium.org> |
dm: stdio: Plumb in the new keyboard uclass When driver model is used for keyboards we must scan the available keyboards and register them with stdio. Add code to do this. At some point (once LCD/video is converted) we should be able to convert stdio to driver model and avoid these dual data structures. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1caf934a |
|
04-Nov-2015 |
Bin Meng <bmeng.cn@gmail.com> |
video: Drop DEV_FLAGS_SYSTEM flag DEV_FLAGS_SYSTEM does not have any actual meaning, hence drop it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
88274b6c |
|
24-Sep-2014 |
Hans de Goede <hdegoede@redhat.com> |
stdio: Fix memleak on stdio_deregister stdio_register makes a malloc-ed copy of struct stdio_dev through stdio_clone, free the malloc-ed memory on stdio_deregister. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
#
654f8d0f |
|
08-Oct-2014 |
Jeroen Hofstee <jeroen@myspectrum.nl> |
serial: make local functions static Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
|
#
32d01926 |
|
20-Sep-2014 |
Hans de Goede <hdegoede@redhat.com> |
stdio: Add force parameter to stdio_deregister In some cases we really want to move forward with a deregister, add a force parameter to allow this, and replace the dev with a nulldev in this case. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
#
9fb02491 |
|
03-Sep-2014 |
Simon Glass <sjg@chromium.org> |
dm: Make driver model available before board_init() For some boards board_init() will change GPIOs, so we need to have driver model available before then. Adjust the board init to arrange this, but enable it for driver model only, just to be safe. This does create additional #ifdef logic, but it is safer than trying to make a pervasive change which may cause some boards to break. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d97143a6 |
|
23-Jul-2014 |
Simon Glass <sjg@chromium.org> |
stdio: Provide functions to add/remove devices using stdio_dev The current functions for adding and removing devices require a device name. This is not convenient for driver model, which wants to store a pointer to the relevant device. Add new functions which provide this feature and adjust the old ones to call these. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
709ea543 |
|
23-Jul-2014 |
Simon Glass <sjg@chromium.org> |
stdio: Pass device pointer to stdio methods At present stdio device functions do not get any clue as to which stdio device is being acted on. Some implementations go to great lengths to work around this, such as defining a whole separate set of functions for each possible device. For driver model we need to associate a stdio_dev with a device. It doesn't seem possible to continue with this work-around approach. Instead, add a stdio_dev pointer to each of the stdio member functions. Note: The serial drivers have the same problem, but it is not strictly necessary to fix that to get driver model running. Also, if we convert serial over to driver model the problem will go away. Code size increases by 244 bytes for Thumb2 and 428 for PowerPC. 22: stdio: Pass device pointer to stdio methods arm: (for 2/2 boards) all +244.0 bss -4.0 text +248.0 powerpc: (for 1/1 boards) all +428.0 text +428.0 Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Marek Vasut <marex@denx.de>
|
#
32749e91 |
|
03-Aug-2013 |
Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com> |
serial: arm_dcc: Remove stdio structure support Removed stdio structure ops support on arm_dcc driver, and need to register with serial core so-that it can access like remianing serial drivers. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
1a459660 |
|
08-Jul-2013 |
Wolfgang Denk <wd@denx.de> |
Add GPL-2.0+ SPDX-License-Identifier to source files Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
|
#
ea818dbb |
|
29-Jan-2013 |
Heiko Schocher <hs@denx.de> |
i2c, soft-i2c: switch to new multibus/multiadapter support - added to soft_i2c driver new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stephen Warren <swarren@wwwdotorg.org>
|
#
3f4978c7 |
|
16-Jan-2012 |
Heiko Schocher <hs@denx.de> |
i2c: common changes for multibus/multiadapter support Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org> Cc: Henrik Nordström <henrik@henriknordstrom.net>
|
#
e70fb539 |
|
22-Jan-2013 |
Michal Simek <michal.simek@xilinx.com> |
serial: arm_dcc: Remove CONFIG_ARM_DCC_MULTI option CONFIG_ARM_DCC_MULTI should be also removed in the patch "serial: Remove CONFIG_SERIAL_MULTI from serial drivers" (sha1: a3827250606895ec2dd4b8d867342b7cabf3692f) Because the driver defines serial_* functions which cause conflict with serial.c (multiple definition of serial_*) Removing CONFIG_SERIAL_MULTI function also require to define default_serial_console for cases where another serial driver is not available in the system. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Marek Vasut <marex@denx.de>
|
#
6a135efc |
|
05-Dec-2012 |
Vincent Palatin <vpalatin@chromium.org> |
stdio: remove useless strncpy The name is already copied when we memcpy() the whole structure. This is because struct stdio_dev has this field: char name[16]; /* Device name */ So the data is inline, rather than being a pointer. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
98ab435f |
|
12-Oct-2012 |
Vadim Bendebury <vbendeb@chromium.org> |
x86: Add CBMEM console driver for coreboot This patch builds upon the recently introduced CBMEM console feature of coreboot. CBMEM console uses a memry area allocated by coreboot to store the console output. The memory area has a certain structure, which allows to determine where the buffer is, the buffer size and the location of the pointer in the buffer. This allows different phases of the firmware (rom based coreboot, ram based coreboot, u-boot after relocation with this change) to keep adding text to the same buffer. Note that this patch introduces a new console driver and adds the driver to the list of drivers to be used for console output, i.e. it engages only after u-boot relocates. Usiong CBMEM console for capturing the pre-relocation console output will be done under a separate change. >From Linux, run the cbmem.py utility (which is a part of the coreboot package) to see the output, e.g.: vvvvvvvvvvvvvvvvv SCSI: AHCI 0001.0300 32 slots 6 ports ? Gbps 0xf impl SATA mode flags: 64bit ilck stag led pmp pio ... Magic signature found Kernel command line: "cros_secure quiet loglevel=1 console=tty2... ^^^^^^^^^^^^^^^^^ Note that the entire u-boot output fits into the buffer only if the coreboot log level is reduced from the most verbose. Ether the buffer size will have to be increased, or the coreboot verbosity permanently reduced. Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
036036d7 |
|
14-Sep-2012 |
Marek Vasut <marex@denx.de> |
serial: Remove CONFIG_SERIAL_MULTI from remaining sources Remove the parts depending either on disabled CONFIG_SERIAL_MULTI or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI is now enabled by default. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de>
|
#
03bf22f5 |
|
22-Aug-2011 |
Bradley Bolen <bradleybolen@yahoo.com> |
stdio: Fix a possible buffer overflow Signed-off-by: Bradley Bolen <bradleybolen at yahoo.com>
|
#
32ff4b7f |
|
20-Oct-2010 |
Mike Frysinger <vapier@gentoo.org> |
stdio: constify "name" arg in public api Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
#
d7be3056 |
|
20-Oct-2010 |
Mike Frysinger <vapier@gentoo.org> |
stdio: constify "name" arg in public api Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
#
2e5167cc |
|
28-Oct-2010 |
Wolfgang Denk <wd@denx.de> |
Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC By now, the majority of architectures have working relocation support, so the few remaining architectures have become exceptions. To make this more obvious, we make working relocation now the default case, and flag the remaining cases with CONFIG_NEEDS_MANUAL_RELOC. Signed-off-by: Wolfgang Denk <wd@denx.de> Tested-by: Heiko Schocher <hs@denx.de> Tested-by: Reinhard Meyer <u-boot@emk-elektronik.de>
|
#
24956642 |
|
15-Sep-2010 |
Stefan Roese <sr@denx.de> |
Remove unused CONFIG_SERIAL_SOFTWARE_FIFO feature This patch removes the completely unused CONFIG_SERIAL_SOFTWARE_FIFO feature from U-Boot. It has only been implemented for PPC4xx and was not used at all. So let's remove it and make the code smaller and cleaner. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
|
#
0630535e |
|
22-Sep-2009 |
Peter Tyser <ptyser@xes-inc.com> |
arm/microblaze/nios/nios2/sh: Remove relocation fixups These architectures don't need relocation fixups, so reduce their codesize a bit by defining CONFIG_RELOC_FIXUP_WORKS. Also remove the reloc_off field from their global data structures as it is no longer needed. Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot. We will therefore increment XF_VERSION in the next commit, which also touches this area. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
|
#
521af04d |
|
21-Sep-2009 |
Peter Tyser <ptyser@xes-inc.com> |
Conditionally perform common relocation fixups Add #ifdefs where necessary to not perform relocation fixups. This allows boards/architectures which support relocation to trim a decent chunk of code. Note that this patch doesn't add #ifdefs to architecture-specific code which does not support relocation. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
|
#
52cb4d4f |
|
15-May-2009 |
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
stdio/device: rework function naming convention So far the console API uses the following naming convention: ======Extract====== typedef struct device_t; int device_register (device_t * dev); int devices_init (void); int device_deregister(char *devname); struct list_head* device_get_list(void); device_t* device_get_by_name(char* name); device_t* device_clone(device_t *dev); ======= which is too generic and confusing. Instead of using device_XX and device_t we change this into stdio_XX and stdio_dev This will also allow to add later a generic device mechanism in order to have support for multiple devices and driver instances. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Edited commit message. Signed-off-by: Wolfgang Denk <wd@denx.de>
|